<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$title} 管理中心 - {$adminproplist} </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<link href="styles/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/action.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</head>
<body>
<h1>
<span class="action-span1">{$title} 管理中心  - {$adminproplist} </span>
<div style="clear:both"></div>
</h1>
<div class="list-div" id="listDiv">
<table width="100%" cellspacing="1" cellpadding="2" id="list-table">
  <tr>
  	<th width="3%"></th>
    <th >模块id</th>
    <th >模块名称</th>
    <th >模块排行</th>
    <th >上级分类</th>
    <th >状态</th>
    <th >操作</th>
  </tr>
  {section name=val loop=$fir}
    <tr align="center" class="0" >
    <td align="left" class="first-cell" >
            <img src="images/menu_minus.gif" id="info{$fir[val].id}" width="9" height="9" border="0" style="margin-left:0em" onclick="rowClicked('tr','info{$fir[val].id}','sort{$fir[val].id}')" />
    </td>
    <td>{$fir[val].id}</td>
    <td>{$fir[val].title}</td>
    <td><input type="text"  value="{$fir[val].rank}" onblur="upfriendlinkrank({$fir[val].id},this.value,'bbs')"></td>
    <td>顶级模板</td>
    <td><a href="bbscontlist.php?act=upst&id={$fir[val].id}&value={$fir[val].state}">{if $fir[val].state==0 }显示{else}不显示{/if}</a></td>
  	<td><a href="bbscontadd.php?act=edit&id={$fir[val].id}">修改</a></td>
  </tr>
  {assign var=key value=$fir[val].id}
  {assign var=inf value=$info.$key}
  {section name=k loop=$inf}
   <tr align="center" class="1" name="sort{$fir[val].id}">
    <td></td>
    <td align="left" class="first-cell" >
            <img src="images/menu_minus.gif" id="info{$inf[k].id}" width="9" height="9" border="0" style="margin-left:0em" onclick="rowClicked('tr','info{$inf[k].id}','sort{$inf[val].id}')" />
      {$inf[k].id}</td>
    <td>{$inf[k].title}</td>	
    <td><input type="text"  value="{$inf[k].rank}" onblur="upfriendlinkrank({$inf[k].id},this.value,'bbs')"></td>
    <td>{$fir[val].title}</td>
    <td><a href="bbscontlist.php?act=upst&id={$inf[k].id}&value={$inf[k].state}">{if $inf[k].state==0 }显示{else}不显示{/if}</a></td>
  	<td><a href="bbscontadd.php?act=edit&id={$inf[k].id}">修改</a></td>
  </tr> 
   {assign var=keo value=$inf[k].id}
  {assign var=thr value=$info.$keo}
  {section name=n loop=$thr}
  <tr align="center" class="3" name="sort{$fir[val].id}";> 
  <td colspan="7" >
  <table width="100%" cellspacing="1" cellpadding="2" id="list-table"> 
   <tr align="center" class="1" name="sort{$inf[k].id}">
    <td >  </td>
    <td>{$thr[n].id}</td>
    <td>{$thr[n].title}</td>	
    <td><input type="text"  value="{$thr[n].rank}" onblur="upfriendlinkrank({$thr[n].id},this.value,'bbs')"></td>
    <td>{$thr[n].title}</td>
    <td><a href="bbscontlist.php?act=upst&id={$thr[n].id}&value={$thr[n].state}">{if $thr[n].state==0 }显示{else}不显示{/if}</a></td>
  	<td><a href="bbscontadd.php?act=edit&id={$thr[n].id}">修改</a></td>
  </tr>
  </table></td></tr>
  {/section}
  {/section}
{/section}
  </table>
</div>
{include file="foot.tpl"}
</body>
</html>
